package exttable.dbclasses;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: ADMIN
 * Date: 02.11.2010
 * Time: 12:25:14
 * To change this template use File | Settings | File Templates.
 */
public class Group {
    private int groupId;
    private String groupCode;
    private List<Probationer> probationerList;

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }

    public List<Probationer> getProbationerList() {
        return probationerList;
    }

    public void setProbationerList(List<Probationer> probationerList) {
        this.probationerList = probationerList;
    }

    public Group(){
       probationerList=new ArrayList<Probationer>();
    }

    @Override
    public String toString(){
        return groupCode;
    }
}
